package datatype;
/**
 * 
 */

/**
 * @author Yuval
 * holds the game statistics 
 */
public class Statistics {

	private boolean finish = false;
	private long totlaTime = 0;
	private int score = 0;
	private int totalCorrectAnswers = 0;
	private int level = 1;
	
	public Statistics(){
		super();
	}
	
	
	public Statistics(boolean finish, long totlaTime, int score,
			int totalCorrectAnswers, int level) {
		super();
		this.finish = finish;
		this.totlaTime = totlaTime;
		this.score = score;
		this.totalCorrectAnswers = totalCorrectAnswers;
		this.setLevel(level);
	}
	/**
	 * @return the finish
	 */
	public boolean isFinish() {
		return finish;
	}
	/**
	 * @return the totlaTime
	 */
	public long getTotlaTime() {
		return totlaTime;
	}
	/**
	 * @return the score
	 */
	public int getScore() {
		return score;
	}
	/**
	 * @return the totalCorrectAnswers
	 */
	public int getTotalCorrectAnswers() {
		return totalCorrectAnswers;
	}
	public int getLevel() {
		return level;
	}
	public void setLevel(int level) {
		this.level = level;
	}


	public void setFinish(boolean finish) {
		this.finish = finish;
	}


	public void setTotlaTime(long totlaTime) {
		this.totlaTime = totlaTime;
	}


	public void setScore(int score) {
		this.score = score;
	}


	public void setTotalCorrectAnswers(int totalCorrectAnswers) {
		this.totalCorrectAnswers = totalCorrectAnswers;
	}
	
	
	
	
}
